/*
 *  SeqList.h
 *  list
 *
 *  Created by 黄 鑫 on 07-10-19.
 *  Copyright 2007 __MyCompanyName__. All rights reserved.
 *
 */

const int MaxSize = 100;

template<typename T>
class SeqList
{
public:
	SeqList () {	length = 0;	}
	SeqList (T a[], int n);
	~SeqList(){	}
	int Length(){ return length	;}
	T Get(int i);
	int Locate(T x);
	void Insert (int i, T x);
	T Delete (int i);
	void PrintList();
private:
	T data[MaxSize];
	int length;
}
